package com.liuhaoqi.raletiveblog.entity;

import java.util.Date;

public class Memory {
    private Integer memoryid;

    private Date createTime;

    private Date updateTime;

    private String year;

    private String memoryContent;

    public Memory(Integer memoryid, Date createTime, Date updateTime, String year, String memoryContent) {
        this.memoryid = memoryid;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.year = year;
        this.memoryContent = memoryContent;
    }

    public Memory() {
        super();
    }

    public Integer getMemoryid() {
        return memoryid;
    }

    public void setMemoryid(Integer memoryid) {
        this.memoryid = memoryid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public String getMemoryContent() {
        return memoryContent;
    }

    public void setMemoryContent(String memoryContent) {
        this.memoryContent = memoryContent == null ? null : memoryContent.trim();
    }
}